package jannex.query.field;

import jannex.query.Binding;
import jannex.query.SelectClause;

public class Field<E> extends SelectClause<E> {

    public Field(Binding<E> binding) {
        super(binding);
    }

    public Field() {
    }

    public Field<E> as(String alias) {
        return this;
    }

    public Column<E> column(String columnName) {
        return new Column<>(columnName);
    }

    public Sum<E> sum(String columnName) {
        return new Sum<>(columnName);
    }

    public Avg<E> avg(String columnName) {
        return new Avg<>(columnName);
    }
}
